<template>
	<div>
		<u-table ref="table" v-loading="loading" :data="value" row-key="SysStoreID" :use-virtual="useVirtual"
			v-bind="$props" v-on="$listeners">
			<slot name="ParentIDBefore"></slot>
			<slot name="ParentID">
				<u-table-column prop="ParentID" :label="keyLan['ParentID']" width="110" align="right"></u-table-column>
			</slot>
			<slot name="ParentIDAfter"></slot>
			<slot name="EnumSysStoreTypeBefore"></slot>
			<slot name="EnumSysStoreType">
				<u-table-column prop="EnumSysStoreType" :label="keyLan['EnumSysStoreType']" width="80" align="center">
					<template v-slot="scope">
						<span v-html="getLabel(scope.row.EnumSysStoreType,EnumSysStoreType)"></span>
					</template>
				</u-table-column>
			</slot>
			<slot name="EnumSysStoreTypeAfter"></slot>
			<slot name="SysStoreNameBefore"></slot>
			<slot name="SysStoreName">
				<u-table-column prop="SysStoreName" :label="keyLan['SysStoreName']" width="180" align="left">
				</u-table-column>
			</slot>
			<slot name="SysStoreNameAfter"></slot>
			<slot name="DirectorBefore"></slot>
			<slot name="Director">
				<u-table-column prop="Director" :label="keyLan['Director']" width="65" align="left"></u-table-column>
			</slot>
			<slot name="DirectorAfter"></slot>
			<slot name="PhoneNumberBefore"></slot>
			<slot name="PhoneNumber">
				<u-table-column prop="PhoneNumber" :label="keyLan['PhoneNumber']" width="80" align="left">
				</u-table-column>
			</slot>
			<slot name="PhoneNumberAfter"></slot>
			<slot name="ProvinceBefore"></slot>
			<slot name="Province">
				<u-table-column prop="Province" :label="keyLan['Province']" width="35" align="left"></u-table-column>
			</slot>
			<slot name="ProvinceAfter"></slot>
			<slot name="CityBefore"></slot>
			<slot name="City">
				<u-table-column prop="City" :label="keyLan['City']" width="35" align="left"></u-table-column>
			</slot>
			<slot name="CityAfter"></slot>
			<slot name="DistrictBefore"></slot>
			<slot name="District">
				<u-table-column prop="District" :label="keyLan['District']" width="35" align="left"></u-table-column>
			</slot>
			<slot name="DistrictAfter"></slot>
			<slot name="AddressBefore"></slot>
			<slot name="Address">
				<u-table-column prop="Address" :label="keyLan['Address']" width="50" align="left"></u-table-column>
			</slot>
			<slot name="AddressAfter"></slot>
			<slot name="LongitudeBefore"></slot>
			<slot name="Longitude">
				<u-table-column prop="Longitude" :label="keyLan['Longitude']" width="50" align="right"></u-table-column>
			</slot>
			<slot name="LongitudeAfter"></slot>
			<slot name="LatitudeBefore"></slot>
			<slot name="Latitude">
				<u-table-column prop="Latitude" :label="keyLan['Latitude']" width="50" align="right"></u-table-column>
			</slot>
			<slot name="LatitudeAfter"></slot>
			<slot name="EnumStatusBefore"></slot>
			<slot name="EnumStatus">
				<u-table-column prop="EnumStatus" :label="keyLan['EnumStatus']" width="50" align="center">
					<template v-slot="scope">
						<span v-html="getLabel(scope.row.EnumStatus,EnumStatus)"></span>
					</template>
				</u-table-column>
			</slot>
			<slot name="EnumStatusAfter"></slot>
			<slot name="CreateDateBefore"></slot>
			<slot name="CreateDate">
				<u-table-column prop="CreateDate" :label="keyLan['CreateDate']" width="160" align="center">
					<template v-slot="scope">
						<span v-if="!!scope.row.CreateDate">{{scope.row.CreateDate | datetime}}</span>
					</template>
				</u-table-column>
			</slot>
			<slot name="CreateDateAfter"></slot>
			<slot name="RemarkBefore"></slot>
			<slot name="Remark">
				<u-table-column prop="Remark" :label="keyLan['Remark']" width="150" align="left"></u-table-column>
			</slot>
			<slot name="RemarkAfter"></slot>

		</u-table>
		<el-pagination v-if="showPage" :current-page="searchParent.index" :page-size="searchParent.size"
			:total="totalParent" @current-change="indexChangeParent" @size-change="sizeChangeParent"></el-pagination>
	</div>
</template>

<script>
	import common from "@/common/common.js";
	import js from "@/System/Partial/SysStore/js.js";
	export default {
		name: "SysStoreListSelect",
		mixins: [common.baseVM, js]
	}
</script>
